#pragma once

class AvailabilityCheckHelper
{
private:
	bool alreadyChecked;

	bool isAvailable;
public:
	AvailabilityCheckHelper() : alreadyChecked(false), isAvailable(false)
	{}

	bool	HasAlreadyBeenChecked() const
	{
		return this->alreadyChecked;
	}

	bool	IsAvailable() const
	{
		return this->isAvailable;
	}

	void	SetAvailability(bool isAvailable)	
	{ 
		this->isAvailable = isAvailable; 
		this->alreadyChecked = true; 
	}
};